package com.lion.ball.app.pages.tabs.main.home;

import com.chris.libs.base.x.mvpp.mvpp.DefaultPresenter;

import javax.inject.Inject;

/**
 * @author Chris chan
 * Create on： 2025/2/1 12:34
 * Use for:
 * Explain:
 */
public class HomePresenter extends DefaultPresenter<HomeContract.UIView>
        implements HomeContract.Presenter {
    private HomeViewModel viewModel;

    @Inject
    public HomePresenter() {
    }

    public void setViewModel(HomeViewModel viewModel) {
        this.viewModel = viewModel;
    }

    @Override
    public void requestANdUpdate() {
        this.viewModel.setText("回家喽！");
    }
}
